import request from "@/utils/request";
export function insertReduction(data) {
  return request({
    url: "/reduction/insert",
    method: "post",
    data: data
  });
}
export function updateReduction(data) {
  return request({
    url: "/reduction/update",
    method: "post",
    data: data
  });
}
export function deleteReduction(data) {
  return request({
    url: "/reduction/delete",
    method: "post",
    data: data
  });
}
export function deletesReduction(data) {
  return request({
    url: "/reduction/deletes",
    method: "post",
    data: data
  });
}
export function enableReduction(data) {
  return request({
    url: "/reduction/enable",
    method: "post",
    data: data
  });
}
export function enablesReduction(data) {
  return request({
    url: "/reduction/enables",
    method: "post",
    data: data
  });
}
export function disableReduction(data) {
  return request({
    url: "/reduction/disable",
    method: "post",
    data: data
  });
}
export function disablesReduction(data) {
  return request({
    url: "/reduction/disables",
    method: "post",
    data: data
  });
}
export function viewReduction(params) {
  return request({
    url: "/reduction/view",
    method: "get",
    params: params
  });
}
export function pageReduction(params) {
  return request({
    url: "/reduction/page",
    method: "get",
    params: params
  });
}
export function searchReduction(params) {
  return request({
    url: "/reduction/search",
    method: "get",
    params: params
  });
}
